package xyz.ddlnt.serviceusr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import xyz.ddlnt.model.dto.UserContentInteractionDTO;
import xyz.ddlnt.model.entity.PostFavRecord;
import xyz.ddlnt.model.vo.PostRecordVO;

import java.util.List;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/25 16:55
 */
@Mapper
public interface PostFavRecordMapper extends BaseMapper<PostFavRecord> {

    Boolean isExits(UserContentInteractionDTO userContentInteractionDTO);

    List<PostRecordVO> getFavList(IPage<PostRecordVO> page, Long id);
}
